<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>中醫養生問卷系統</title>

<style type="text/css">
<!--
body {
	background-image: url(img/grass.jpg);
    background-position: center top;
	background-color: #FFFFFF;
	background-repeat: repeat;
}
body,td,th {
	color: #000000;
	font-size:24px;
	font-family: Arial;
}


a:link {
text-decoration:none;
font-family:Arial;
font-size:20px;
color:#FFFFFF;
}
a:visited {
text-decoration:none;
font-family:Arial;
font-size:20px;
color:#FFFFFF;
}
a:hover {
text-decoration:none;
font-family:Arial;
font-size:20px;
color:#000000;
}


.ind:link {
color: #535353;
text-decoration:none;
font-family:"標楷體";
font-size:18px;
}
.ind:visited {
color:#535353;
text-decoration:none;
font-family:"標楷體";
font-size:18px;
}

.ind:hover {
color:#BB280F;
text-decoration:none;
font-family:"標楷體";
font-size:18px;
}


.HEAD_STYLE {
	font-weight:bold;
	color: #1B4001;
	font-family:"標楷體";
	font-size:30px; 
}
.TEXT_STYLE {
	font-family:Arial;
	color:#193940;
	font-size:24px;
	font-weight:bold;
}
.BOTTOM_STYLE {
	color: #FFFFFF; 
	font-family: Arial; 
	font-size:20px;
}
.LEFT_BUTTON_G:link {
	font-family:"標楷體"; 
	font-size:25px;
	text-decoration:none;
	color:#FFFFFF;
}
.LEFT_BUTTON_G:visited {
	font-family:"標楷體"; 
	font-size:25px;
	text-decoration:none;
	color:#FFFFFF;
}
.LEFT_BUTTON_G:hover {
	font-family:"標楷體"; 
	font-size:25px;
	text-decoration:none;
	color:#000000;
}


.LEFT_BUTTON_W:link {
	font-family:"標楷體"; 
	font-size:25px;
	text-decoration:none;
	color:#277C35;
}
.LEFT_BUTTON_W:visited {
	font-family:"標楷體"; 
	font-size:25px;
	text-decoration:none;
	color:#277C35;
}
.LEFT_BUTTON_W:hover {
	font-family:"標楷體"; 
	font-size:25px;
	text-decoration:none;
	color:#000000;
}
-->
</style>

</head>
<body alink="#FF0000" vlink="#FF0000">
<table width="100%" border="0">
		<tr>
			<td><p>&nbsp;</p></td>
		</tr>
				
			
			
		
 
    		<td width="5%">&nbsp;</td>
			
			<td bgcolor="#FFFFFF"><table width="100%" border="0">
      			<tr>
        			<td background="img/herbal.jpg">
						<p>&nbsp;</p>
          				<p>&nbsp;</p>
          				<p>&nbsp;</p>
          				<p>&nbsp;</p>
		  				<p>&nbsp;</p>
          
          			</td>
  				 </tr>
     
	 
	 
	 
	  			  <tr>
        			<td>	
						<table bgcolor="#437A27" width="100%" border="0">
         					 <tr>
            					<td>&nbsp;</td>
           			 		
          			 		</tr>
        				</table>
					</td>
     			  </tr>
      
	  			
	  
	  
	  
	 			  <tr>
        				<td>
							<table width="100%">
           						<tr>
									
								    				
									
									
									
									<td valign="top"  width="20%">
										<table width="100%">
											
											
							
              								 <tr>
               								   <td bgcolor="#437A27" align="center">
               										 <% if ( request.isUserInRole("manager") || request.isUserInRole("user") || request.isUserInRole("admin") ) { %>
           									   
											   <a href="editData.jsp" target="_parent" class="LEFT_BUTTON_G">修改資料</a>											</td>
         									</tr>
             
			 								<tr>
           									     <td align="center">  
												 <a href="chooseCategory.jsp" target="_parent" class="LEFT_BUTTON_W">填寫體質問卷</a>	
												 	</td>
          								    </tr>
              
			  								<tr>
                								<td bgcolor="#437A27" align="center">  
													<a href="listhistory.jsp" target="_parent" class="LEFT_BUTTON_G">歷史問卷</a></td>
                									
        								    
           								   </tr>
             
			 								 <tr>
              									 <td align="center">    
            								      <% }
    
													if ( request.isUserInRole("admin") ) {
													%>
									 <a href="register.jsp" target="_parent" class="LEFT_BUTTON_W">新增使用者帳戶</a>
               									 <%
													}
               									 %>
             								 	 </td>
             								 </tr>
										  <tr>
										  		<td align="center">
												<form name="logoutform" action="logout.do" method="get">
												<input type="submit" value="登出">
					   							</form>
												</td>
										  
										  </tr>
       
	   									      
									  </table>	
											
								  </td>
									
									<td valign="top">
									<table width="100%">
										
										<tr>	
												<td align="center" class="HEAD_STYLE">最新消息</td>
										</tr>
											<tr>
												<td>
													<table width="100%" border="1" bordercolor="#437A27"><td>
														<div style="overflow:auto; height:100px" class="TEXT_STYLE">
															7/06 版本三,介面修改,調整程式碼<br />
															<hr/>
															7/02 版本二 <br />
															<hr/>
															6/29 版本一 <br />
															<hr/>
														</div></td>
													</table>
												</td>
             		</tr>
									</table>
									
									</td>

								</tr>
       					 </table>
         

         				</td>
      				</tr>
   
	  
					
	  				
					<tr>
      					  <td bgcolor="#437A27"><div align="center" class="BOTTOM_STYLE">Copyright@CCU_PLlab</div></td>
   
  					 </tr>
    						
  	 			  
	
			</table>
		</td>
	    
		<td width="5%">&nbsp;</td>
</table>
<p>&nbsp;</p>
</body>
</html>
